<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
    <meta charset="UTF-8">
        <?php
        // put your code here
        ?>
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr bgcolor="#B0E0E6">
    <td colspan="3" valign="bottom">
    <table width="766" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr align="center">
          <td width="224" height="83" align="center">&nbsp;<h1>欢迎光临我的书店!</h1></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <?php
    /**
     * @todo 添加最热图书功能
     */
    ?>
    <!--<td width="560" height="32" bgcolor="#FFFFFF" align="center">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="index.php">本站首页</a>&nbsp;| <a href="shownewbook.php">最新图书</a> | <a href="showhotbook.php">热门图书</a>&nbsp;|&nbsp;<a href="usercenter.php">用户中心</a>&nbsp;|&nbsp;<a href="cart.php">我的购物车</a></td>-->
    <td width="560" height="32" bgcolor="#FFFFFF" align="center">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="index.php">本站首页</a>&nbsp;| <a href="shownewbook.php">最新图书</a> | &nbsp;<a href="usercenter.php">用户中心</a>&nbsp;|&nbsp;<a href="cart.php">我的购物车</a></td>
    <td width="121" align="center" bgcolor="#FFFFFF">
      <?php
	  if(@$_SESSION['username']!=""){
	    echo "当前用户:".$_SESSION['username'];
	  }
	?>
    </td>
    <td width="77" bgcolor="#FFFFFF"> 
	<?php
	if(@$_SESSION['username']!=""){
	    echo "<a href='logout.php'>注销离开</a>";
	  }
	?>
    </td>
  </tr>
</table>
